<template>
	<view class="ClassifyItem">
		
		<view class="title">
			———— {{classifyList.title}} ————
		</view>
		<view class="pic">
			<view class="singlePic" v-for="item in classifyList.showList" :key="item.id">
				<image :src="item.showPic" mode="widthFix"></image>
				<text>{{item.showTitle}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"ClassifyItem",
		data() {
			return {
				
			};
		},
		props:{
			classifyList:{
				type:Object
			}
		}
	}
</script>

<style lang="less" scoped>
.ClassifyItem{
	width: 100%;
	margin-bottom: 50rpx;
	.title{
		margin-top: 30rpx;
		text-align: center;
		margin-bottom: 30rpx;
	}
	.pic{
		display: flex;
		flex-wrap: wrap;
		.singlePic{
			flex: 3;
			padding: 3rpx;
			text-align: center;
			image{
				width: 100%;
			}
		}
	}
}
</style>